//
//  TranscationModel.h
//  Bees
//
//  Created by NowYouCanSee on 2019/3/5.
//  Copyright © 2019 xiaohan. All rights reserved.
//

#import "XHBaseModel.h"

NS_ASSUME_NONNULL_BEGIN
//
//@interface Act : NSObject
//@property (nonatomic,copy) NSString*account;
//@property (nonatomic,copy) NSString*name;
//@property (nonatomic,copy) NSArray*authorization;
//@property (nonatomic,copy) NSDictionary*data;
//@property (nonatomic,copy) NSString*hex_data;
//@end
//
//@interface Receipt : NSObject
//@property (nonatomic,copy) NSString*receiver;
//@property (nonatomic,copy) NSString*act_digest;
//@property (nonatomic,copy) NSString*global_sequence;
//@property (nonatomic,copy) NSString*recv_sequence;
//@property (nonatomic,copy) NSArray*auth_sequence;
//@property (nonatomic,copy) NSString*code_sequence;
//@property (nonatomic,copy) NSString*abi_sequence;
//
//@end
//
//@interface ActionTrace : NSObject
//@property (nonatomic,strong) Receipt*receipt;
//@property (nonatomic,strong) Act*act;
//@property (nonatomic,assign) BOOL context_free;
//@property (nonatomic,copy) NSString*elapsed;
//@property (nonatomic,copy) NSString*console;
//@property (nonatomic,copy) NSString*trx_id;
//@property (nonatomic,copy) NSString*block_num;
//@property (nonatomic,copy) NSString*producer_block_id;
//@property (nonatomic,copy) NSArray*account_ram_deltas;
//@property (nonatomic,copy) NSString*except;
//@property (nonatomic,copy) NSArray*inline_traces;
//@end


@interface TranscationInfoM : NSObject

@property (nonatomic,strong) NSString*from;
@property (nonatomic,strong) NSString*to;
@property (nonatomic,strong) NSString*memo;
@property (nonatomic,strong) NSString*quantity;
@end
@interface TranscationModel : NSObject
//@property (nonatomic,copy) NSString*global_action_seq;
//@property (nonatomic,assign) NSInteger account_action_seq;
//@property (nonatomic,copy) NSString*block_num;
//@property (nonatomic,copy) NSString*block_time;
//@property (nonatomic,strong) ActionTrace*action_trace;
@property (nonatomic,strong) NSString*data_md5;
@property (nonatomic,strong) NSString*trx_id;
@property (nonatomic,strong) NSString*timestamp;
@property (nonatomic,strong) NSString*receiver;
@property (nonatomic,strong) NSString*sender;
@property (nonatomic,strong) NSString*quantity;
@property (nonatomic,strong) NSString*memo;
@property (nonatomic,strong) NSString*symbol;
@property (nonatomic,strong) NSString*status;
@property (nonatomic,strong) NSString*block_num;
@property (nonatomic,strong) NSString*code;
@property (nonatomic,strong) NSString*block_time;
@property (nonatomic,strong) NSString*account;
@property (nonatomic,strong) NSString*global_sequence;
@property (nonatomic,strong) TranscationInfoM*data;
@end

NS_ASSUME_NONNULL_END
